package jnpf.zcasset.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import jnpf.permission.service.AuthorizeService;
import jnpf.util.GeneraterSwapUtil;
import jnpf.util.ServletUtil;
import jnpf.util.UserProvider;
import jnpf.zcasset.entity.ZcAssetDisposeDetailsEntity;
import jnpf.zcasset.mapper.ZcAssetDisposeDetailsMapper;
import jnpf.zcasset.model.zcassetdispose.ZcAssetDisposePagination;
import jnpf.zcasset.service.ZcAssetDisposeDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 资产处置
 * 版本： V3.2.0
 * 版权： 引迈信息技术有限公司（https://www.jnpfsoft.com）
 * 作者： JNPF开发平台组
 */
@Service
public class ZcAssetDisposeDetailsServiceImpl extends ServiceImpl<ZcAssetDisposeDetailsMapper, ZcAssetDisposeDetailsEntity> implements ZcAssetDisposeDetailsService {
    @Autowired
    private GeneraterSwapUtil generaterSwapUtil;

    @Autowired
    private UserProvider userProvider;

    @Autowired
    private AuthorizeService authorizeService;

    @Override
    public QueryWrapper<ZcAssetDisposeDetailsEntity> getChild(ZcAssetDisposePagination pagination, QueryWrapper<ZcAssetDisposeDetailsEntity> zcAssetDisposeDetailsQueryWrapper) {
        boolean pcPermission = false;
        boolean appPermission = false;
        boolean isPc = ServletUtil.getHeader("jnpf-origin").equals("pc");
        if (isPc) {
        }

        return zcAssetDisposeDetailsQueryWrapper;
    }

}
